package com.simple.mapper.ocrmark;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface EsMarkMapper {
	
	
	public String  getOneImg();
	
	public void insertInit();

	public void insertBatch(List<String> imgs);
	
	public void updateMark(Map map);

	public void marking(String imgname);

	public List<Map<String,Object>> queryAll();

	public long queryAllCount();

	public long queryIsMarkCount();
	public long queryNoMarkCount();

	public int unlockMarking();

    public void updateDealBatch(List<String> imgs);

	public void updateDeal(String img);
}
